<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>个人中心</title>
    {include file="common/linkcss" /}
</head>

<body>



    <div class="page__hd">
        <h1 class="page__title">{$card.name}的个人中心</h1>
        <p class="page__desc">你可以在这里管理自己的信息</p>
    </div>

    <div class="weui-grids">
        <a href="javascript:;" id="goMyhome" class="weui-grid">
            <div class="weui-grid__icon">
                <img src="/icon_tabbar.png" alt="">
            </div>
            <p class="weui-grid__label">我的名片</p>
        </a>
        <a href="{:url('card/edit',array('cid'=>$card.id,'gid'=>$card.gid))}" class="weui-grid">
            <div class="weui-grid__icon">
                <img src="/icon_tabbar.png" alt="">
            </div>
            <p class="weui-grid__label">编辑名片</p>
        </a>
        <a href="{:url('card/getcode',array('cid'=>$card.id,'gid'=>$card.gid))}" class="weui-grid">
            <div class="weui-grid__icon">
                <img src="/icon_tabbar.png" alt="">
            </div>
            <p class="weui-grid__label">我的海报</p>
        </a>
        <a href="javascript:;" class="weui-grid">
            <div class="weui-grid__icon">
                <img src="/icon_tabbar.png" alt="">
            </div>
            <p class="weui-grid__label">行为助手</p>
        </a>
        <a href="javascript:;" class="weui-grid">
            <div class="weui-grid__icon">
                <img src="/icon_tabbar.png" alt="">
            </div>
            <p class="weui-grid__label">用户分析</p>
        </a>
        <a href="javascript:;" class="weui-grid">
            <div class="weui-grid__icon">
                <img src="/icon_tabbar.png" alt="">
            </div>
            <p class="weui-grid__label">客户跟进</p>
        </a>
        <a href="{:url('job/index',array('gid'=>$card.gid))}" class="weui-grid">
            <div class="weui-grid__icon">
                <img src="/icon_tabbar.png" alt="">
            </div>
            <p class="weui-grid__label">我的团队</p>
        </a>
        <a href="javascript:;" class="weui-grid">
            <div class="weui-grid__icon">
                <img src="/icon_tabbar.png" alt="">
            </div>
            <p class="weui-grid__label">团队排行</p>
        </a>
        <a href="javascript:;" class="weui-grid">
            <div class="weui-grid__icon">
                <img src="/icon_tabbar.png" alt="">
            </div>
            <p class="weui-grid__label">敬请期待</p>
        </a>
    </div>

    <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
    <script>
        $('#goMyhome').click(function () {
            wx.miniProgram.navigateTo({
                url: '/pages/my/index?id={$card.id}&type=0'
            });
        })
    </script>

    {include file="common/footer" /}
</body>


</html>